|
SET PARTICLE LIFE
This command will set the life duration of particles within the particles object.
SET PARTICLE LIFE Particle Number, Life Percentage
Particle Number
Integer
The particle object number
Life Percentage
Integer
The default value of 100 keeps the particle alive long enough to arc, hit the floor and spark. A value smaller than this will stop short this existence
This command does not return a value.
This controls how long the particle will stay alive. The default value of 100 keeps the particle alive long enough to arc, hit the floor and spark. A value smaller than this will stop short this existence.
make particles 4, 0, 10, 10.0
position particles 4, 3, 2, 10
set particle emissions 4, 1
set particle speed 4, 0.005
set particle velocity 4, 10
set particle life 4, 50+rnd(50)
do
loop
delete particles 4
end
PARTICLES Commands Menu
Index
|